@import "general.less"; @import "apartments.less"; .first { display: -webkit-flex; display: -ms-flex; display: flex; align-items: center; position: relative; height: 100vh; min-height: 700px; color: #fff; z-index: 0; .transition; &-day { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-repeat: no-repeat; background-position: center; opacity: 0; .transition; z-index: 0; &::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; // background-color: fade(#000,60%); z-index: -1; } &.active { opacity: 1; } } &-night { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-repeat: no-repeat; background-position: center; // opacity: 0; .transition; z-index: 0; &::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: fade(#000,45%); z-index: -1; } &.active { opacity: 1; } } h1 { opacity: 0; margin-bottom: 0.5em; &.first1 { opacity: 1; .transition(@time:1s,@delay:1.5s); } &.active-animation { transform: translateY(0px); opacity: 1; .transition(@time:1s); } } &__descr { opacity: 0; position: relative; .muller; margin-top: 0; margin-bottom: 1em; font-size: 22px; &.first1 { opacity: 1; .transition(@time:1s,@delay:1.6s); } &.active-animation { transform: translateY(0px); opacity: 1; .transition(@time:1s); } } &__inner { padding-top: 3em; position: relative; } &__row { opacity: 0; display: -webkit-flex; display: -ms-flex; display: flex; align-items: center; .button { margin-right: 2em; background-color: #b72727; font-size: 28px; font-weight: bold; } h3 { max-width: 400px; // font-weight: 600; } &.first1 { opacity: 1; .transition(@time:1s,@delay:1.6s); } &.active-animation { transform: translateY(0px); opacity: 1; .transition(@time:1s); } } &__bot { pointer-events: none; opacity: 0; position: absolute; bottom: 0; left: 0; right: 0; display: -webkit-flex; display: -ms-flex; display: flex; flex-direction: column; justify-content: flex-end; &.first1 { opacity: 1; .transition(@time:1s,@delay:1.8s); } &.active-animation { transform: translateY(0px); opacity: 1; .transition(@time:1s); } &-inner { display: -webkit-flex; display: -ms-flex; display: flex; justify-content: flex-end; color: @red; margin-bottom: 0; > * { pointer-events: all; } } &-flats { position: relative; display: -webkit-flex; display: -ms-flex; display: flex; flex-direction: column; align-items: flex-end; padding: 1em; background-color: fade(@green,70%); border-radius: 10px; &-count { margin-left: 20px; text-align: right; line-height: 1; font-size: 70px; .bebas; .transition; &:first-child { margin-left: 0; } } &-counts { display: -webkit-flex; display: -ms-flex; display: flex; align-items: flex-end; span { display: inline-block; line-height: 1.3; font-size: 40px; margin-left: 20px; } } &-text { text-align: right; max-width: 240px; font-size: 20px; // font-weight: bold; line-height: 1.1; .muller; } } &-tabs { display: -webkit-flex; display: -ms-flex; display: flex; margin-bottom: 1em; } &-tab { margin-right: 1.3em; cursor: pointer; color: fade(@red,60%); .transition; &.current { cursor: default; color: @red; } &:last-child { margin-right: 0; } &:hover { color: @red; } } } &-arrow { opacity: 0; padding: 20px; cursor: pointer; position: absolute; bottom: 3em; left: calc(3% + 5px); margin-left: -11px; background-image: url("../img/first-arrow.svg"); background-position: center; background-repeat: no-repeat; height: 20px; width: 20px; animation: 2s ease arrow-first infinite; &.first1 { opacity: 1; .transition(@time:1s,@delay:1.8s); } &.active-animation { transform: translateY(0px); opacity: 1; .transition(@time:1s); } } &__btn-text { &.first1 { opacity: 1; .transition(@time:1s,@delay:1.6s); } &.active-animation { transform: translateY(0px); opacity: 1; .transition(@time:1s); } } &__erz { position: absolute; top: 100px; right: 0; height: 140px; width: 260px; text-align: right; &.first1 { opacity: 1; .transition(@time:1s,@delay:1.6s); } &.active-animation { transform: translateY(0px); opacity: 1; .transition(@time:1s); } img { height: 100%; } } &__texts { &.first1 { opacity: 1; .transition(@time:1s,@delay:1.6s); } &.active-animation { transform: translateY(0px); opacity: 1; .transition(@time:1s); } p { .muller; font-size: 20px; line-height: 1.3; } h2{ margin-bottom: .5em; font-size: 38px; } button, a { background-color: #b72727; &:hover{ background-color: lighten(#b72727, 5%); } } } &__list { li { position: relative; padding-left: 2em; margin-bottom: 1em; &::before { position: absolute; top: 0; left: 0; content: ''; height: 20px; width: 22px; background-position: center; background-repeat: no-repeat; background-size: cover; background-image: url("../img/ok.png"); } } } &__bg { position: relative; margin-bottom: 4em; padding: 2em 2em 2em 0; background-color: fade(@green,80%); width: max-content; &::before { content: ''; position: absolute; top: 0; left: -1000px; height: 100%; width: 1000px; background-color: fade(@green,80%); } } } .gallery { position: relative; margin: 0; padding: 150px 0 50px; overflow: hidden; &-slider { position: static; .owl-stage-outer { overflow: visible; } .owl-item.active { .gallery-slide { // &::before{ // height: 0px; // .transition(@time:0.5s,@delay:0.4s); // } } .gallery-slide__img { clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%); .transition(@effect: ease-out,@time:0.3s,@delay:0.4s); &::before { background-color: transparent; } } } } &-slide { position: relative; .transition; padding-top: 46%; // &::before{ // content: ''; // position: absolute; // top: 0; // left: 0; // width: 100%; // height: 20%; // background-color: #fff; // .transition; // z-index: 1; // } &__img { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; background-size: 100%; background-position: center; background-repeat: no-repeat; clip-path: polygon(0% 18%, 100% 18%, 100% 100%, 0% 100%); .transition; &::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: fade(#000,45%); .transition; } } } &__texts { position: relative; display: -webkit-flex; display: -ms-flex; display: flex; justify-content: flex-end; height: 3em; .muller; font-size: 30px; font-weight: 400; color: @red; line-height: 1.2; margin-top: 1em; } &__text { transform: translateY(20px); opacity: 0; visibility: hidden; text-align: right; position: absolute; right: 0; top: 0; max-width: 510px; .transition; &.active { transform: translateY(0px); opacity: 1; visibility: visible; .transition(@effect: ease-out,@time:0.5s,@delay:0.4s); } } // &__pattern{ // position: absolute; // top: 0; // left: 0; // width: 100%; // height: 100%; // img{ // width: 100%; // height: 100%; // } // background-image: url('../img/page-line-1.svg'); // background-repeat: no-repeat; // background-size: 100%; // background-position: top right; // } } .slider-nav { position: absolute; top: 0; left: 0; width: 100%; display: -webkit-flex; display: -ms-flex; display: flex; justify-content: flex-end; pointer-events: none; &.disabled { display: none; } .owl { &-prev { display: -webkit-flex; display: -ms-flex; display: flex; align-items: center; justify-content: center; height: 56px; width: 56px; border-radius: 50%; background-color: @red; pointer-events: all; position: relative; cursor: pointer; user-select: none; .transition; img { margin-left: 3px; } &:hover { background-color: darken(@red,10%); } &.disabled { cursor: default; opacity: 0.5; } } &-next { display: -webkit-flex; display: -ms-flex; display: flex; align-items: center; justify-content: center; height: 56px; width: 56px; margin-left: 1.5em; border-radius: 50%; background-color: @red; pointer-events: all; position: relative; cursor: pointer; user-select: none; .transition; img { margin-left: -3px; } &:hover { background-color: darken(@red,10%); } &.disabled { cursor: default; opacity: 0.5; } } } } .map { position: relative; margin: 0; padding-top: 0; margin-bottom: 50px; &__pattern {} &__inner { padding: 50px 0 150px; background-color: @green; color: #fff; } &__item { p { color: #fff; font-size: 20px; } a { position: relative; color: @red; &::before { content: ''; position: absolute; bottom: -3px; left: 0; width: 100%; height: 1px; background-color: @red; } &:hover { color: darken(@red,10%); &::before { background-color: darken(@red,10%); } } } } &__container { border-radius: 5px; margin-right: 2em; height: 430px; overflow: hidden; } &__video { position: relative; height: 250px; margin-bottom: 2em; z-index: 1; video { border-radius: 5px; } iframe { border-radius: 5px; } &-title { color: @red; max-width: 300px; } } &__bot { margin-top: -7em; position: relative; z-index: 1; } } .flats { // padding-bottom: 200px; padding-bottom: 0px; overflow: hidden; background-repeat: no-repeat; background-position: center calc(100% - -11vw); // background-image: url("../img/block-pattern.svg"); background-size: 100% auto; &__line { position: relative; transform: translateX(0px); margin-bottom: 2em; margin-left: -106px; .transition; &::before { content: ''; position: absolute; left: -50%; top: 0; background-color: @green; height: 2px; width: 50%; } &::after { content: ''; position: absolute; right: -50%; top: 0; background-color: @green; height: 2px; width: 50%; } svg { path { stroke: @green; .transition; } } } &__tabs { display: -webkit-flex; display: -ms-flex; display: flex; margin-top: 4em; margin-bottom: 1.5em; } &__tab { cursor: pointer; margin-right: 3em; font-size: 20px; .transition; .muller; color: @grey; &.current { cursor: default; color: @red; } &:hover { color: @red; } } &__inner {} &__column { &-item { position: relative; z-index: 1; cursor: pointer; opacity: 0.5; height: 80px; background-size: contain; background-repeat: no-repeat; background-position: center; .transition; &.current { cursor: default; opacity: 1; } &.blur { filter: blur(4px); } } } &__slider { position: relative; padding-top: 80%; } &__slide { transform: translateX(-30px); opacity: 0; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: contain; background-repeat: no-repeat; background-position: center; .transition; &.current { opacity: 1; transform: translateX(0px); .transition(@delay:0.4s,@time:1.5s); z-index: 1; } &.blur { .flats__slide-blur { display: -webkit-flex; display: -ms-flex; display: flex; text-align: center; } } &-blur { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: none; align-items: center; justify-content: center; p { font-size: 24px; margin-bottom: 1em; } } } &__nav { display: -webkit-flex; display: -ms-flex; display: flex; margin-bottom: 3em; &-left { margin-right: 1.5em; display: -webkit-flex; display: -ms-flex; display: flex; align-items: center; justify-content: center; height: 56px; width: 56px; border-radius: 50%; background-color: @red; pointer-events: all; position: relative; cursor: pointer; user-select: none; .transition; img { margin-left: 3px; } &:hover { background-color: darken(@red,10%); } } &-right { display: -webkit-flex; display: -ms-flex; display: flex; align-items: center; justify-content: center; height: 56px; width: 56px; border-radius: 50%; background-color: @red; pointer-events: all; position: relative; cursor: pointer; user-select: none; .transition; img { margin-left: -3px; } &:hover { background-color: darken(@red,10%); } } } &__param { margin-bottom: 2em; &-title { font-size: 20px; color: @grey; margin-bottom: 0.2em; .muller; } &-text { opacity: 0; transform: translateY(-10px); font-size: 24px; font-weight: 400; // .bebas; .transition; ul { padding-left: 1.2em; font-family: 'Open Sans'; font-size: 16px; } li { list-style: disc; } &.active { opacity: 1; transform: translateY(0px); .transition(@time:1.5s); } p {} } } } .ask { padding: 100px 0; position: relative; background-position: center; background-repeat: no-repeat; background-size: cover; z-index: 0; color: #fff; h2 { margin-top: 0; } &::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: fade(@green,80%); z-index: -1; } .container { display: -webkit-flex; display: -ms-flex; display: flex; justify-content: space-between; } &-block { width: 40%; &.ask-answer { height: 600px; width: 50%; position: relative; border: 2px solid #fff; border-radius: 5px; } .ask-answer { &__item { h3 { margin-top: 0; margin-bottom: 1em; } } } } &-checks { &.two { column-count: 2; } &.otd { .ask-check { font-size: 18px; } } } &-check { cursor: pointer; font-size: 20px; display: block; margin-bottom: 0.7em; line-height: 1.3; &:hover { span { &::after { opacity: 0.3; } &::before { background-color: fade(#fff,50%); } } } input { display: none; &:checked { ~ span { &::after { opacity: 1; } &::before { background-color: fade(#fff,50%); } } } } span { padding-left: 2em; position: relative; &::before { content: ''; position: absolute; left: 0; top: 3px; background-color: fade(#fff,30%); border-radius: 2px; height: 20px; width: 20px; .transition; } &::after { content: ''; position: absolute; left: 4px; top: 5px; background-image: url("../img/flag.svg"); background-repeat: no-repeat; background-size: contain; width: 14px; height: 14px; opacity: 0; // .transition; } } } &-count { position: absolute; bottom: 1em; right: 1em; display: -webkit-flex; display: -ms-flex; display: flex; font-size: 30px; .bebas; &__ed { margin-top: -0.5em; } &__all {} } &-button { position: absolute; bottom: 2em; left: 2em; pointer-events: none; opacity: 0.5; .transition; &.active { pointer-events: all; opacity: 1; } } &-answer__item { position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 2em; opacity: 0; visibility: hidden; transform: translateY(20px); .transition; &.current { opacity: 1; visibility: visible; transform: translateY(0px); .transition(@delay:0.3s); } } &-input { border-bottom: 2px solid #fff; padding-bottom: 5px; margin-bottom: 1em; font-size: 20px; color: #fff; &::placeholder { color: #fff; } } &-inputs { display: -webkit-flex; display: -ms-flex; display: flex; justify-content: space-between; input { width: 46%; } } &-bot { position: absolute; bottom: 2em; display: -webkit-flex; display: -ms-flex; display: flex; justify-content: space-between; align-items: center; a { margin-right: 1em; } span { font-size: 12px; max-width: 220px; } } &-send { opacity: 0.5; pointer-events: none; .transition; &.active { opacity: 1; pointer-events: all; } } &-descr { position: absolute; bottom: -2em; color: #fff; } } .online { h3 { margin-top: 0; color: @red; } &-stream { position: relative; height: 450px; z-index: 1; &.two { div:nth-child(2) { display: none; } iframe { &:last-child { display: none; } } } &.switch { div:nth-child(2) { display: block; } iframe { &:nth-child(3) { display: none; } &:last-child { display: block; } } } &__btn { cursor: pointer; margin-right: 2em; font-size: 20px; color: #AFAFAF; .transition; &.current { cursor: default; color: #FA4D14; } } &__btns { display: -webkit-flex; display: -ms-flex; display: flex; flex-wrap: wrap; margin-bottom: 1em; } } &-title { font-size: 20px; color: @grey; margin-bottom: 0.5em; .muller; } &-scale { position: relative; height: 34px; border-radius: 5px; margin-bottom: 4em; background-color: fade(@red,30%); &__layer { position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: 5px; background-size: contain; background-repeat: no-repeat; // background-position: left center; &:nth-child(1) { background-image: url("../img/fck-1.svg"); } &:nth-child(2) { background-image: url("../img/fck-2.svg"); } &:nth-child(3) { background-image: url("../img/fck-3.svg"); } &:nth-child(4) { background-image: url("../img/fck-4.svg"); } &:nth-child(5) { background-image: url("../img/fck-5.svg"); } &:nth-child(6) { background-image: url("../img/fck-6.svg"); } &:nth-child(7) { background-image: url("../img/fck-7.svg"); } &:nth-child(8) { background-image: url("../img/fck-8.svg"); } &:nth-child(9) { background-image: url("../img/fck-9.svg"); } &:nth-child(10) { background-image: url("../img/fck-10.svg"); } } &__text { position: absolute; left: 0; width: 100%; text-align: center; color: #fff; font-size: 20px; } } &-text { font-size: 16px; color: @grey; margin-bottom: 1em; } &-input { border-bottom: 2px solid @grey; font-size: 30px; color: @grey; .bebas; margin-bottom: 1em; } &-btn { width: 100%; padding: 16px 0; } } .payment { position: relative; padding-bottom: 0; &__bg { position: absolute; bottom: 0; left: 0; width: 100%; height: 600px; background-color: @green; z-index: -1; } &-cards { display: -webkit-flex; display: -ms-flex; display: flex; flex-wrap: wrap; margin: 0 -1% 3em; position: relative; z-index: 1; } &-card { position: relative; width: 23%; margin: 0 1%; border-radius: 5px; background-position: center; background-repeat: no-repeat; background-size: cover; color: #fff; z-index: 1; padding-top: 37%; background-color: #b4855b; .transition(); &:hover{ background-color: darken(#b4855b, 5%); } // &::before { // content: ''; // position: absolute; // top: 0; // left: 0; // width: 100%; // height: 100%; // border-radius: 5px; // background-color: fade(#000,45%); // z-index: -1; // } &__title { position: absolute; top: 8%; left: 8%; width: 85%; font-size: 26px; // font-weight: 600; line-height: 1.2; .bebas; } &__text { position: absolute; left: 8%; bottom: 8%; font-size: 16px; max-width: 310px; width: 86%; button{ padding: 15px 0 13px; width: 100%; text-align: center; border: 0; margin-top: 20px; } } } &-banks { display: -webkit-flex; display: -ms-flex; display: flex; margin: 0 -1%; padding-bottom: 100px; &__title { color: #fff; margin-bottom: 0.5em; } } &-bank { display: -webkit-flex; display: -ms-flex; display: flex; align-items: center; justify-content: center; width: 15%; margin: 0 1%; img { width: 150px; } } } .form { &__inner { position: relative; border-radius: 5px; padding: 100px 7%; display: -webkit-flex; display: -ms-flex; display: flex; flex-wrap: wrap; justify-content: space-between; background-image: url("../img/img-bron.jpg"); background-repeat: no-repeat; background-position: left top; color: #fff; z-index: 0; &::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: fade(@green,80%); z-index: -1; } } &__block { width: 40%; &:last-child { min-width: 440px; } &-text { font-size: 18px; margin-bottom: 1em; &:first-child { font-size: 20px; .muller; } } &-input { border-bottom: 2px solid #fff; color: #fff; font-size: 50px; height: 70px; .bebas; // font-weight: 600; margin-bottom: 1em; &::placeholder { color: #fff; } } &-descr { font-size: 10px; margin-left: 2em; } &-row { display: -webkit-flex; display: -ms-flex; display: flex; align-items: center; } &-tel { display: inline-block; font-size: 50px; .bebas; // font-weight: 600; margin-bottom: 0.5em; color: #fff; } &-descr { max-width: 200px; } } &-btn { overflow: hidden; input {} } } .address { &-item { cursor: pointer; display: -webkit-flex; display: -ms-flex; display: flex; align-items: flex-start; margin-bottom: 2em; .transition; &:first-child { .address-item__title { color: @green; } .address-item__mark { background-color: @green; } } &__text { color: @grey; max-width: 240px; } &__title { font-size: 20px; line-height: 1.3; color: @red; margin-bottom: 0.5em; .muller; } &__mark { display: -webkit-flex; display: -ms-flex; display: flex; align-items: center; justify-content: center; border-radius: 50%; background-color: @red; height: 46px; width: 46px; margin-right: .5em; } } &-map { height: 350px; background-color: #eee; } } .difference { &__list { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 40px; grid-auto-rows: 1fr; @media(max-width: 991px) { grid-gap: 20px; grid-template-columns: 1fr; } @media(max-width: 576px) { grid-auto-rows: auto; } } &__item { display: -webkit-flex; display: -ms-flex; display: flex; @media(max-width: 576px) { flex-direction: column; align-items: flex-start; } &-img{ position: relative; width: 50%; padding-top: 25%; @media(max-width: 576px) { width: 100%; padding-top: 45%; } img{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; } } &-content { width: 50%; padding-left: 18px; padding-right: 30px; @media(max-width: 576px) { padding-left: 0; padding-top: 10px; width: 100%; } h3{ font-size: 20px; margin-top: 0; } } } &-main { margin: 50px 0 0; &__img{ margin-bottom: 20px; width: 100%; padding-top: 45%; position: relative; img{ position: absolute; top: 0; left: 0; width: 100%; height:100%; object-fit: cover; object-position: center; } } &__content { width: 100%; margin-left: auto; p, a { margin-bottom: 0; font-size: 22px; text-align: right; margin-left: auto; display: block; color: @red; @media(max-width: 756px) { font-size: 20px; } @media(max-width: 576px) { font-size: 16px; } } } } } .online__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-gap: 40px; width: 100%; @media(max-width: 991px) { grid-template-columns: 1fr 1fr ; } @media(max-width: 576px) { grid-template-columns: 1fr; grid-gap: 20px; } &-img{ position: relative; width: 100%; padding-top: 57%; img{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; } } } .price-form{ &__inputs { display: -webkit-flex; display: -ms-flex; display: flex; justify-content: space-between; @media(max-width: 756px) { flex-direction: column; } input { width: 30%; margin-bottom: 0; @media(max-width: 756px) { margin-bottom: 2em; width: 100%; } } } } .d-none { display: none !important; } .room__info-item { padding-right: 20px; } label.button { padding-left: 20px; padding-right: 20px; } @import "grid.less"; @import "media.less";